home *** CD-ROM | disk | FTP | other *** search
/ Cine Live 70 / Cine Live 70.iso / pc / Data / Interface / av4.k < prev    next >
Encoding:
Text File  |  2003-05-06  |  5.4 KB  |  237 lines

  1. module oRoot1 is cBox
  2. with 
  3.     Flags is $00000152; 
  4.     release Editor:
  5.         IOWindow is {$00000158,$0000008A,$000002F7,$000002CA,$00000000,$00000000,$00000000,$00000000};
  6.         LayoutWindow is {$000000B5,$0000003D,$0000031B,$00000301,$00000000,$0000004D,$00000064,$00000000};
  7.     end;
  8.     Name is "Root"; 
  9.     Enabled is false; 
  10.     
  11.     Width is 800; Height is 600; 
  12.     
  13.     
  14.     Elements is [
  15.         oMusic2,
  16.         ofond3,
  17.         obouton_sommaire4,
  18.         obouton_retour5,
  19.         obouton_lancer6,
  20.         oVid_o8
  21.     ];
  22.     Events is [
  23.         cOnscreenEvent
  24.         with 
  25.             Commands is [
  26.                 cRunCommand
  27.                 with Flags is $00000004; Target is oMusic2; Rewind is true; end
  28.             ];
  29.         end,
  30.         cKeyboardEvent
  31.         with Flags is $00000004; Test is IsSpace; 
  32.             Commands is [
  33.                 cRunCommand
  34.                 with Flags is $00000004; Target is oVid_o8; Mode is Toggle; end
  35.             ];
  36.         end,
  37.         cKeyboardEvent
  38.         with Value is "+"; 
  39.             Commands is [
  40.                 cSetVolumeCommand
  41.                 with Mode is ExecuteHigher; end
  42.             ];
  43.         end,
  44.         cKeyboardEvent
  45.         with Value is "-"; 
  46.             Commands is [
  47.                 cSetVolumeCommand
  48.                 with Flags is $00000004; Mode is ExecuteLower; end
  49.             ];
  50.         end,
  51.         cKeyboardEvent
  52.         with Value is "m"; 
  53.             Commands is [
  54.                 cRunCommand
  55.                 with Flags is $00000004; Mode is Toggle; Rewind is true; end
  56.             ];
  57.         end
  58.     ];
  59. end;
  60.  
  61. object oMusic2 is cSound
  62. with 
  63.     Flags is $00000150; 
  64.     Name is "Music"; 
  65.     
  66.     AdjustX is AlignToCenter; AdjustY is AlignToMiddle; 
  67.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  68.     Looping is true; 
  69.     URL is "data/Sons/2.mp3"; URLOption is GetDiskURL; 
  70.     
  71. end;
  72.  
  73. object ofond3 is cImage
  74. with 
  75.     Flags is $00000150; 
  76.     Name is "fond"; 
  77.     Enabled is false; 
  78.     AdjustX is AlignToCenter; AdjustY is AlignToMiddle; 
  79.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  80.     
  81.     URL is "data/Images/a4.jpg"; URLOption is GetDiskURL; 
  82.     
  83.     
  84. end;
  85.  
  86. object obouton_sommaire4 is cImage
  87. with 
  88.     Flags is $00000150; 
  89.     Name is "bouton sommaire"; 
  90.     Shown is false; Cursor is oFingerCursor; 
  91.     X is 629; Y is 573; 
  92.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  93.     
  94.     URL is "data/Images/vid%20sommaire.jpg"; URLOption is GetDiskURL; 
  95.     
  96.     
  97.     Events is [
  98.         cMouseEnterEvent
  99.         with Flags is $00000004; 
  100.             Commands is [
  101.                 cShowCommand
  102.                 with Flags is $00000004; Target is oTargetSelf; end
  103.             ];
  104.         end,
  105.         cMouseLeaveEvent
  106.         with Flags is $00000004; 
  107.             Commands is [
  108.                 cShowCommand
  109.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end
  110.             ];
  111.         end,
  112.         cMouseUpEvent
  113.         with Flags is $00000004; Flag is true; 
  114.             Commands is [
  115.                 cBrowseCommand
  116.                 with Flags is $00000004; URL is "../../Data/Interface/sommaire.k"; end
  117.             ];
  118.         end
  119.     ];
  120. end;
  121.  
  122. object obouton_retour5 is cImage
  123. with 
  124.     Flags is $00000150; 
  125.     Name is "bouton retour"; 
  126.     Shown is false; Cursor is oFingerCursor; 
  127.     X is 321; Y is 573; 
  128.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  129.     
  130.     URL is "data/Images/vid%20retour.jpg"; URLOption is GetDiskURL; 
  131.     
  132.     
  133.     Events is [
  134.         cMouseEnterEvent
  135.         with Flags is $00000004; 
  136.             Commands is [
  137.                 cShowCommand
  138.                 with Flags is $00000004; Target is oTargetSelf; end
  139.             ];
  140.         end,
  141.         cMouseLeaveEvent
  142.         with Flags is $00000004; 
  143.             Commands is [
  144.                 cShowCommand
  145.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end
  146.             ];
  147.         end,
  148.         cMouseUpEvent
  149.         with Flags is $00000004; Flag is true; 
  150.             Commands is [
  151.                 cBackCommand
  152.                 with Flags is $00000004; end
  153.             ];
  154.         end
  155.     ];
  156. end;
  157.  
  158. object obouton_lancer6 is cImage
  159. with 
  160.     Flags is $00000154; 
  161.     Name is "bouton lancer"; 
  162.     Shown is false; Cursor is oFingerCursor; 
  163.     X is 475; Y is 573; 
  164.     AdjustWidth is GetDataWidth; AdjustHeight is GetDataHeight; 
  165.     
  166.     URL is "data/Images/vid%20video.jpg"; URLOption is GetDiskURL; 
  167.     
  168.     
  169.     Events is [
  170.         cMouseEnterEvent
  171.         with Flags is $00000004; 
  172.             Commands is [
  173.                 cShowCommand
  174.                 with Flags is $00000004; Target is oTargetSelf; end
  175.             ];
  176.         end,
  177.         cMouseLeaveEvent
  178.         with Flags is $00000004; 
  179.             Commands is [
  180.                 cShowCommand
  181.                 with Flags is $00000004; Target is oTargetSelf; Mode is Clear; end
  182.             ];
  183.         end,
  184.         cMouseUpEvent
  185.         with Flags is $00000004; Flag is true; 
  186.             Commands is [
  187.                 cRunCommand
  188.                 with Flags is $00000004; Target is oMusic2; Mode is Clear; Rewind is true; end,
  189.                 cShowCommand
  190.                 with Flags is $00000004; Target is oVid_o8; end,
  191.                 cEnableCommand
  192.                 with Flags is $00000004; Target is oVid_o8; end,
  193.                 cRunCommand
  194.                 with Flags is $00000004; Target is oVid_o8; Rewind is true; end
  195.             ];
  196.         end
  197.     ];
  198. end;
  199.  
  200. object oVid_o8 is cMPEGMovie
  201. with 
  202.     Flags is $00000150; 
  203.     Name is "Vid\$E9o"; 
  204.     Enabled is false; Shown is false; Cursor is oEmptyCursor; 
  205.     
  206.     Width is 800; Height is 600; 
  207.     
  208.     URL is "data/Videos/a4.mpg"; URLOption is GetDiskURL; 
  209.     Events is [
  210.         cMouseUpEvent
  211.         with Flags is $00000004; Flag is true; 
  212.             Commands is [
  213.                 cShowCommand
  214.                 with Flags is $00000004; Target is oVid_o8; Mode is Clear; end,
  215.                 cEnableCommand
  216.                 with Flags is $00000004; Target is oVid_o8; Mode is Clear; end,
  217.                 cRunCommand
  218.                 with Flags is $00000004; Target is oVid_o8; Mode is Clear; Rewind is true; end,
  219.                 cRunCommand
  220.                 with Flags is $00000004; Target is oMusic2; Rewind is true; end
  221.             ];
  222.         end,
  223.         cFinishedEvent
  224.         with Flags is $00000004; 
  225.             Commands is [
  226.                 cShowCommand
  227.                 with Flags is $00000004; Target is oVid_o8; Mode is Clear; end,
  228.                 cEnableCommand
  229.                 with Flags is $00000004; Target is oVid_o8; Mode is Clear; end,
  230.                 cRunCommand
  231.                 with Flags is $00000004; Target is oVid_o8; Mode is Clear; Rewind is true; end,
  232.                 cRunCommand
  233.                 with Flags is $00000004; Target is oMusic2; Rewind is true; end
  234.             ];
  235.         end
  236.     ];
  237. end;